/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.infoweblogic.dao;

import br.com.infoweblogic.interfaces.ITurmaDao;
import br.com.infoweblogic.pojos.Turma;
import br.com.pbs.dao.GenericDao;
import br.com.pbs.exeptions.BancoExeption;

/**
 *
 * @author Luiz Segundo
 */
public class TurmaDao extends GenericDao<Turma> implements ITurmaDao{

        public Turma verifica(Turma valida) throws BancoExeption {
                if(valida !=null){
                        return valida;
                }else{
                        throw new BancoExeption("Valores não podem ser salvos");
                }
        }

}
